<?php
require dirname ( __FILE__ ) . '/../lib/init.php';

$_POST = addslashes_deep ( $_POST );
//$uid = $_SESSION ["USERID"];
$userdo = $_POST ["useraction"];
$table = "kt_cv";
global $db;
if ($userdo == "CVDEL") {
	$oid = $_POST ["oid"];
	$oid = array_map ( "intval", $oid );
	$where = 'oid IN (' . join ( ', ', $oid ) . ')';
	$db->delete ( $table, $where );
}

 